// Decompiled by Jad v1.5.8e2. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://kpdus.tripod.com/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi space 
// Source File Name:   ResponseStatus.java

package com.hfstu.file.server;

import java.io.PrintStream;

public final class ResponseStatus extends Enum
{

	public static final ResponseStatus Ok;
	public static final ResponseStatus Denied;
	public static final ResponseStatus Error;
	private static final ResponseStatus ENUM$VALUES[];

	private ResponseStatus(String s, int i)
	{
		super(s, i);
	}

	public String toString()
	{
		switch (ordinal() + 1)
		{
		case 1: // '\001'
			return "{success:true,status:0}";

		case 2: // '\002'
			return "{success:false,status:1}";

		case 3: // '\003'
			return "{success:false,status:2}";
		}
		return "{success:false,status:3}";
	}

	public static void main(String args[])
	{
		ResponseStatus aresponsestatus[];
		int j = (aresponsestatus = values()).length;
		for (int i = 0; i < j; i++)
		{
			ResponseStatus e = aresponsestatus[i];
			System.out.println((new StringBuilder(String.valueOf(e.name()))).append(" = ").append(e.toString()).toString());
		}

		System.out.println(Ok.toString());
	}

	public static ResponseStatus[] values()
	{
		ResponseStatus aresponsestatus[];
		int i;
		ResponseStatus aresponsestatus1[];
		System.arraycopy(aresponsestatus = ENUM$VALUES, 0, aresponsestatus1 = new ResponseStatus[i = aresponsestatus.length], 0, i);
		return aresponsestatus1;
	}

	public static ResponseStatus valueOf(String s)
	{
		return (ResponseStatus)Enum.valueOf(com/hfstu/file/server/ResponseStatus, s);
	}

	static 
	{
		Ok = new ResponseStatus("Ok", 0);
		Denied = new ResponseStatus("Denied", 1);
		Error = new ResponseStatus("Error", 2);
		ENUM$VALUES = (new ResponseStatus[] {
			Ok, Denied, Error
		});
	}
}
